[NTG-context] Re: start/stopregister

2024-04-26 Thread Hans Hagen
A\index{A} B \page A\startregister [index] {A} B\startregister [index] [B] {B} \dorecurse {10} {\input tufte} A\stopregister [index] {A} B\stopregister [index] [B] \page \placeregister[index] \stoptext And I'm not even sure if this is allowed to say anymore, but: works in mkii

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/26/24 9:30 AM, Thomas A. Schmitz wrote: And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when there is already an index entry before. Example below! All best Thomas \setuppapersize [A6] \starttext     A\index{A} B \page     A\startregister [index] {A} B

[NTG-context] Re: start/stopregister

2024-04-26 Thread Thomas A. Schmitz
On 4/25/24 6:27 PM, Thomas A. Schmitz wrote: Ah, simple typo! After fixing abel to label, startregister gives the expected results again! Thanks Hans! I may be back with more register questions soon... And here I am again! Both in mkiv and in mkxl, start/stopregister does not work when

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
it. Ah, simple typo! After fixing abel to label, startregister gives the expected results again! Thanks Hans! I may be back with more register questions soon... Thomas ___ If your question is of interest to others

[NTG-context] Re: start/stopregister

2024-04-25 Thread Hans Hagen
On 4/25/2024 4:51 PM, Taco Hoekwater wrote: On 25 Apr 2024, at 16:45, Thomas A. Schmitz wrote: On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can

[NTG-context] Re: start/stopregister

2024-04-25 Thread Taco Hoekwater
> On 25 Apr 2024, at 16:45, Thomas A. Schmitz > wrote: > > On 4/25/24 16:13, Henning Hraban Ramm wrote: >> I’m using it like >> \startregister[index][bibliografie]{Bibliografie} >> … >> \stopregister[index][bibliografie] >> i.e. very similar to your

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
On 4/25/24 16:13, Henning Hraban Ramm wrote: I’m using it like \startregister[index][bibliografie]{Bibliografie} … \stopregister[index][bibliografie] i.e. very similar to your example, and can confirm it doesn’t result in a page range in the index. Also gives no error. Since I've become

[NTG-context] Re: start/stopregister

2024-04-25 Thread Henning Hraban Ramm
Am 25.04.24 um 15:44 schrieb Thomas A. Schmitz: Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv

[NTG-context] start/stopregister

2024-04-25 Thread Thomas A. Schmitz
Hi all, has \startregister been superseded in luametatex or is it not yet implemented? I tried to read strc-reg.lmt but couldn't figure out what is going on. The following silly minimal test produces the expected result with mkiv but not in mkxl. All best Thomas \setuppapersize [A6

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Bruce Horrocks via ntg-context
ions Richard and Mikael. For the benefit of the list I went with the following quick'n'dirty™ approach which will be good enough: \def\index{\dosingleempty\debugIndex} \def\debugIndex[#1]#2{% \iffirstargument \null% Ignore it for now \else \inmargin[color=blue,stack=yes,style=ssxx]{#2}% \fi }

Re: [NTG-context] How to add entire chapter's page ranger for index entry?

2022-01-23 Thread Bruce Horrocks via ntg-context
ry? \startchapter[title={My chapter title}] \startregister[index][anIdentifier]{word} The text... \stopregister[index][anIdentifier] \stopchapter — Bruce Horrocks Hampshire, UK ___ If your question is of interest to other

Re: [NTG-context] How to add entire chapter's page ranger for index entry?

2022-01-23 Thread Henning Hraban Ramm via ntg-context
, if Chapter 3 spans page 22-50, and I place `\index{word}` in Chapter 3, I need the index to display "word 22-50", but only for that entry...not for all index entries. How to add entire chapter's page ranger for index entry? You need to use \startregister[index][some code]{Entry} .

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
jector[index] % ERROR! \index{Danold} \index{Drum} %\index{Dapper} % uncomment to test \index{Kankra} \index{Kookaburra} \placeregister[index][criterium=all] \page \startregister[index][test]{Knuth} \input tufte \index{Donald}\index{Drom}\index{Divine} \page\index{Dummy} \input knuth \index{Don

[NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
it possible to combine entries from \index and \startregister[index]? If I use \start/stopregister and have the same index entry within the range or on the same page, I get duplicate pages or page ranges, like 10-12 from \startregister and additionally 11, 12-13 from \index entries, makes at the

[NTG-context] Fine tuning an index

2020-10-08 Thread Duncan Hothersall
if I have a \startregister - \stopregister pair resulting in an index entry like entry 354--356 I would like to be able to make this read entry 354--6 There are different conventions for number span elision but usually teens aren't elided so entry 314--316 would become

[NTG-context] Index range with page number suffix

2020-09-24 Thread Duncan Hothersall
I need is: sausage 1-2i Is this possible? MWE \defineprocessor[important][right={\it{i}}] \starttext \samplefile{knuth} \startregister[index][sausage][important->sausage]{sausage} \dorecurse{6}{\samplefile{knuth}} \stopregister[index][sausage]{sausage} \samplefile{knuth} \page \placein

Re: [NTG-context] force index entries without page number

2020-09-04 Thread mf
these "passim" entries are in scientific works; maybe I could use Mainperson firstpage–lastpage instead to avoid the major hassle of tricking the index mechanisms. in that case \startindex...\stopindex or \startregister...\stopregiste

[NTG-context] Index confusion with first entry

2020-08-18 Thread Henning Hraban Ramm
–216, 219–220, 224, 240, 242–244, 291 Page 6 is mentioned two times out of order. The problem doesn’t show at other locations. The first index entry (p.6) is made by \startregister[locations][test]{Someplace}, second is Hamburg (single entry). If I replace Hamburg with another town, the problem

[NTG-context] index page ranges where start page == end page

2019-07-09 Thread Sanjoy Mahajan
The following probably well known minimal example \starttext \startregister[index][key1]{an entry}\input knuth\stopregister[index][key1] \placeindex \stoptext produces the index entry "an entry 1--1", where the page range should be just a single page. A question (an

Re: [NTG-context] \startregister…\stopregister bug?

2018-08-14 Thread Wolfgang Schuster
You forgot the second argument for \startregister and \stopregister. \defineregister[TesT] \starttext \startregister[TesT][one]{samples} \input knuth \page \startregister[TesT][two]{more} \input ward \stopregister[TesT][one] \page zapf \stopregister[TesT][two] \blank[3*big

[NTG-context] \startregister…\stopregister bug?

2018-08-14 Thread Alan Bowen
In the latest beta (2018.08.10), \defineregister[TesT] \starttext \startregister[TesT]{samples} \input knuth \page \input ward \stopregister[TesT] \blank[3*big] \placeregister[TesT] \stoptext produces on page 2 the index entry *samples 1* when one expects *samples 1–2* Alan

Re: [NTG-context] compressing register ranges

2017-06-16 Thread Florian Grammel
expected behaviour? >> And if so: is there another switch to get the ranges to be collapsed >> completely? >> >> Also: There wouldn't be a shorthand to define explicit ranges? LaTeX has >> \index{Demorange|(} to \index{Demorange|)} which is actually very convenient.

Re: [NTG-context] compressing register ranges

2017-06-16 Thread Henning Hraban Ramm
range|)} which is actually very convenient. ConTeXt has \startregister, see http://wiki.contextgarden.net/Registers#Collapse_Page_Numbers Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD _

[NTG-context] compressing register ranges

2017-06-16 Thread Florian Grammel
\page[yes] 2 \demo{Demorange} \page[yes] 3 \startregister[demo][demorange]{Demorange} \page[yes] 4 \demo{Demorange} \page[yes] 5 \page[yes] 6 \stopregister[demo][demorange] \page[yes] 7 \demo{Demorange} \page[yes] \placeregister [demo] [comp

[NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content. }\par\stop % this brace is reported as unexpected character here \stopregister[index][two] \page \placeindex

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Hans Hagen
, yes] \setupnotation[footnote][align={hz, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content. }\par\stop % this brace is reported as unexpected character here

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
, yes] \setupnotation[footnote][align={hz, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content. }\par\stop % this brace is reported as unexpected

Re: [NTG-context] Regression in register processing in last beta

2014-03-16 Thread Jan Tosovsky
: \setupalign[hz, hanging] \setupindenting[medium, yes] \setupnotation[footnote][align={hz, hanging}] \starttext Hello One \start \setuptolerance[strict] \startregister[index][two]{two} Hello Two This is \footnote{ \parfillskip 14pt plus 1 fill Footnote \index{content}content

Re: [NTG-context] Paragraph - the last line handling

2014-02-19 Thread Jan Tosovsky
% in older versions this value has to be set to 15.4cm \input tufte \parfillskip 30pt plus 1 fill \input tufte \startregister[index][test]{test} \input{tufte} \stopregister[index][test] \stoptext It can be fixed by a blank line inserted before \stopregister command, but this is unacceptable

Re: [NTG-context] Index - ranges

2013-11-15 Thread honyk
? \startregister[index][range_01]{primary} Dummy text. \stopregister[index][range_01] I've found a promising option compress=no|yes|all in an experimental test case located in the strc-reg.mkiv file. The corresponding lua code seems to be performing some cleanup of page ranges, but when I

Re: [NTG-context] Index - ranges

2013-11-15 Thread honyk
it to a single page number? \startregister[index][range_01]{primary} Dummy text. \stopregister[index][range_01] I've finally found it is caused by this logic: if first == last then if first.references.lastrealpage then -- IMHO this could be optional pagerange(first,first

Re: [NTG-context] Index - ranges

2013-11-12 Thread honyk
On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01

Re: [NTG-context] Index - ranges

2013-11-08 Thread honyk
On 2013-11-07 honyk wrote: 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01

[NTG-context] Index - ranges

2013-11-07 Thread honyk
Dear All, 1) when a range for my subject index entry is specified and the text between doesn't overflow to the next page, even in this case the range of pages 1-1 is created. Is there any option to normalize it to a single page number? \startregister[index][range_01]{primary} Dummy text

[NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
Dear All, what is the correct placing indext entries somewhere in the section title? I use it for both ranges (when covering the whole section) and sometimes also for individual entries: (A) \section{\startregister[index][primary_range_01]{primary}Primary} (B) \section{\index{primary}Primary

Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread Wolfgang Schuster
Am 07.11.2013 um 23:43 schrieb honyk j.tosov...@email.cz: Dear All, what is the correct placing indext entries somewhere in the section title? I use it for both ranges (when covering the whole section) and sometimes also for individual entries: (A) \section{\startregister[index

Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
: (A) \section{\startregister[index][primary_range_01]{primary}Primary} (B) \section{\index{primary}Primary} (C) \section{Primary}\index{primary} :-) I usually place it at the beginning to ensure visibility of the title when the page in the index is clicked in a large zoom (which should be preserved

Re: [NTG-context] Registers with distinguishable entries.

2012-04-26 Thread Philipp Gesang
\demo{Demoitem} foo \page[yes] \demo{Demoitem} foo \page[yes] %%% Here’s the range; should work without “compress” \startregister[demo][demorange]{Demorange} \demo{Demoitem} foo \page[yes] \demo{Otheritem} bar \page[yes] \demo{Otheritem} bar \page[yes] \stopregister[demo][demorange]%% = you’ll

Re: [NTG-context] Registers with distinguishable entries.

2012-04-26 Thread Robert Blackstone
] \starttext \demo{Demoitem} foo \page[yes] \demo{Demoitem} foo \page[yes] %%% Here?s the range; should work without ?compress? \startregister[demo][demorange]{Demorange} \demo{Demoitem} foo \page[yes] \demo{Otheritem} bar \page[yes] \demo{Otheritem} bar \page[yes] \stopregister[demo

Re: [NTG-context] footnotes rewritten

2012-02-22 Thread Steffen Wolfrum
when cite/index/startregister and bookmarks are used in a project. The first version that solved this bug was vers. 20120208 ... and this already introduced the new footnotes. The triangle can be switched of by \setupnote[symbolcommand=\gobbleoneargument], as Wolfgang knew. In general we'd need

Re: [NTG-context] Multipages registers

2011-09-14 Thread Pierre-François Bonnefoi
be more concrete, it’s not clear what do you want. When you need a index entry which spans multiple pages you can write it with “\startregister[index][identifier]{entries} … \stopregister[index][identifier]”. Wolfgang -- Bonnefoi Pierre-Francois|E-mail : bonne

Re: [NTG-context] Multipages registers

2011-09-01 Thread Wolfgang Schuster
entries next slides : title next index entries I've not found the way to do this. Can you be more concrete, it’s not clear what do you want. When you need a index entry which spans multiple pages you can write it with “\startregister[index][identifier]{entries

[NTG-context] register broken in latest beta!

2010-10-11 Thread Steffen Wolfrum
Hi, todays beta gives an error with this test (taken from strc-reg.kmiv at line 35): \starttext \placeregister[index] test \index{aa} test \startregister[index][x]{bb} test \page test \page test \page test \stopregister[index][x] \stoptext ! LuaTeX error ...text/tex/texmf-context/tex

[NTG-context] Tagged register

2010-09-26 Thread Steffen Wolfrum
\dorecurse{10}{test 1:!\startregister[index]{test} test 20 \stopregister{} 21 \page} 22 \dorecurse{5} {test 2:\recurselevel \page} 23 \dorecurse{10}{test 3:!\startregister[index]{test} test 24 \stopregister{} 25 \page} 26\dorecurse{5} {test 4:\recurselevel \page

Re: [NTG-context] new beta (index)

2010-09-25 Thread Hans Hagen
assume \startregister[index]{keyword}...\stopregister is meant for something different: a MkII command for index ranges?) those are ranges indeed Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] new beta (index)

2010-09-24 Thread Steffen Wolfrum
this ... no minimal example I guess btw: does the MkIV-structure-idea also provide an xml-alike start/stop for index marks? index termSchlüsselwort/term /index (I assume \startregister[index]{keyword}...\stopregister is meant for something different: a MkII command for index ranges

Re: [NTG-context] some (older) problems

2009-08-18 Thread Thomas Floeren
: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no] works ok in current version/beta c) I'm not able to build caption numbers with the chapter number as prefix: I want

[NTG-context] some (older) problems

2009-08-17 Thread Thomas Floeren
in an error: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no] c) I'm not able to build caption numbers with the chapter number as prefix: I want for example Fig. 2.6 where 2

Re: [NTG-context] some (older) problems

2009-08-17 Thread Hans Hagen
Thomas Floeren wrote: a) Floatcaptions are no longer placed: \externalfigure[dummy] \placefloatcaption[figure]{blabla} i didn't yet rewrite that bit of code b) \start...\stopregister results in an error: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes

Re: [NTG-context] Lots of problems in mkiv

2009-06-18 Thread Thomas Floeren
: \externalfigure[dummy] \placefloatcaption[figure]{blabla} b) \start...\stopregister results in an error: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no] c) I'm not able

Re: [NTG-context] startregister produces strange page range (1-2-3)

2009-04-28 Thread Patrick Gundlach
Hi, I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages. The live context (2009.03.06) produces a blank index with the pdftex engine, so I'm CC'ing Patrick in case that problem is separate. The context live is now 2009.04.28. I don't know if this helps, but at least it is

Re: [NTG-context] startregister produces strange page range (1-2-3)

2009-04-21 Thread Patrick Gundlach
Hi Sanjoy, I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages. The live context (2009.03.06) produces a blank index with the pdftex engine, so I'm CC'ing Patrick in case that problem is separate. The context did not receive an update for quite some time. I will take a look

[NTG-context] startregister produces strange page range (1-2-3)

2009-04-20 Thread Sanjoy Mahajan
II) from the Debian unstable packages. The live context (2009.03.06) produces a blank index with the pdftex engine, so I'm CC'ing Patrick in case that problem is separate. \starttext \startregister[index][Knuth]{Knuth} \dorecurse{5}{\input knuth } \stopregister[index][Knuth] \startregister[index

Re: [NTG-context] urgent index error

2008-09-29 Thread Steffen Wolfrum
Am 29.09.2008 um 00:16 schrieb Wolfgang Schuster: Am 29.09.2008 um 00:00 schrieb Steffen Wolfrum: Hi, in my document I use utf-input. So do the index-marks: \enableregime[utf] \starttext START\startregister[index][umlautä]{Umlaute– ä} \input knuth END\stopregister[index

[NTG-context] urgent index error

2008-09-28 Thread Steffen Wolfrum
Hi, in my document I use utf-input. So do the index-marks: \enableregime[utf] \starttext START\startregister[index][umlautä]{Umlaute– ä} \input knuth END\stopregister[index][umlautä] \placeregister[index][compress=yes] \stoptext Just, this can't be typset: ! Missing \endcsname

Re: [NTG-context] urgent index error

2008-09-28 Thread Wolfgang Schuster
Am 29.09.2008 um 00:00 schrieb Steffen Wolfrum: Hi, in my document I use utf-input. So do the index-marks: \enableregime[utf] \starttext START\startregister[index][umlautä]{Umlaute– ä} \input knuth END\stopregister[index][umlautä] \placeregister[index][compress=yes] \stoptext

Re: [NTG-context] \index versus makeindex.

2008-07-23 Thread Wolfgang Schuster
more cryptic: \index{foo|(} ... \index{foo|)} Either form includes all the pages between the two commands as entries under foo, e.g., foo 24-68 \startregister[index][knuthrange]{knuth} ... \stopregister[index][knuthrange] Don't know why it is not possible to use \startindex ... \stopindex

Re: [NTG-context] startregister - stopregister

2008-07-03 Thread Wolfgang Schuster
Unfortunately in ConTeXt the register entry is required the other way round: \startregister[index][knuthrange1]{Knuth} \stopregister[index][knuthrange1] Could it be possible also to provide something like ... \startregister[index][Index216] \stopregister[index][Index216]{Verfassungsvertrag

[NTG-context] startregister - stopregister

2008-07-02 Thread Steffen Wolfrum
: \startregister[index][knuthrange1]{Knuth} \stopregister[index][knuthrange1] Could it be possible also to provide something like ... \startregister[index][Index216] \stopregister[index][Index216]{Verfassungsvertrag} ... in mkii, please? Steffen

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
] \stopprofile \startproject file \stopproject \startquotation[left|middle|right] \stopquotation \startregister[text]{text+text+text} \stopregister # \startsetups \stopsetups # \startstandardmakeup \stopstandardmakeup \startsymbolset[name] \stopsymbolset \startsynchronization \stopsynchronization

Re: [NTG-context] index questions - again

2007-03-14 Thread Hans Hagen
Thomas A. Schmitz wrote: On Mar 13, 2007, at 6:41 PM, Hans Hagen wrote: OK, I tried a hack, and I just wanted to ask if there's anything wrong with it: as dirty workaround, I added a fourth key to dostartregister: \def\startregister {\doquadrupleempty\dostartregister} \def

Re: [NTG-context] index questions - again

2007-03-13 Thread Hans Hagen
for ranges? OK, I tried a hack, and I just wanted to ask if there's anything wrong with it: as dirty workaround, I added a fourth key to dostartregister: \def\startregister {\doquadrupleempty\dostartregister} \def\dostartregister[#1][#2][#3][#4]#5% {\chardef

Re: [NTG-context] index questions - again

2007-03-13 Thread Thomas A. Schmitz
On Mar 13, 2007, at 6:41 PM, Hans Hagen wrote: OK, I tried a hack, and I just wanted to ask if there's anything wrong with it: as dirty workaround, I added a fourth key to dostartregister: \def\startregister {\doquadrupleempty\dostartregister} \def\dostartregister[#1][#2][#3][#4]#5

Re: [NTG-context] index questions - again

2007-03-12 Thread Thomas A. Schmitz
, and I just wanted to ask if there's anything wrong with it: as dirty workaround, I added a fourth key to dostartregister: \def\startregister {\doquadrupleempty\dostartregister} \def\dostartregister[#1][#2][#3][#4]#5% {\chardef\registerpagestatus\plustwo \def\currentregister{#1

Re: [NTG-context] register fine tuning

2006-10-26 Thread Thomas A. Schmitz
have defined a special index which will typeset numbers in bold: \setupregister[index][imp][pagestyle=bold] which I invoke like \index[imp::]{modernity} How can I get a register range to use this special style? I tried something like \startregister[imp][signi][signifie]{\em signifié} but get

[NTG-context] index question

2006-10-21 Thread Thomas A. Schmitz
something like \startregister[imp][signi][signifie]{\em signifié} but get errors missing csname. What am i overlooking? Thanks Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] index page range bug

2006-09-07 Thread Duncan Hothersall
Jason wrote: When using startregister/stopregister commands, if the range is only one one page, then while both a [f] and a [t] are written to the tui file, only one \registerfrom command is put in the tuo file. If there is only one range, it seems like the software deals with it nicely

[NTG-context] index page range bug

2006-09-06 Thread Jason Grout
Hans (or whoever could change this), When using startregister/stopregister commands, if the range is only one one page, then while both a [f] and a [t] are written to the tui file, only one \registerfrom command is put in the tuo file. If there is only one range, it seems like the software

[NTG-context] register ranges

2006-02-23 Thread Thomas A. Schmitz
Hi all, I must be obtuse, but I can't find the answer to this easy question: to define a register range, I was using this: \startregister[index]{Menippean} \stopregister[index] and it works. However, when I try to replace [index] with my own key (because I have overlapping ranges

Re: [NTG-context] register ranges

2006-02-23 Thread Taco Hoekwater
Thomas A. Schmitz wrote: Hi all, I must be obtuse, but I can't find the answer to this easy question: to define a register range, I was using this: \startregister[index]{Menippean} \stopregister[index] and it works. However, when I try to replace [index] with my own key (because

Re: [NTG-context] register ranges

2006-02-23 Thread Thomas A. Schmitz
On Feb 23, 2006, at 12:10 PM, Duncan Hothersall wrote: Hi Thomas. The first [...] in the \startregister command is the name of the register itself, then there is a second one for the sort key/range identifier. So you want: \startregister[index][Menippean]{Menippean} \stopregister[index

Re: [NTG-context] register ranges

2006-02-23 Thread Duncan Hothersall
\startregister[index]{Menippean} \stopregister[index] and it works. However, when I try to replace [index] with my own key (because I have overlapping ranges) \startregister[satire]{Menippean} \stopregister[satire] I get errors: ... Hi Thomas. The first [...] in the \startregister

Re: [NTG-context] Index

2005-11-14 Thread Duncan Hothersall
what the problems are, but basically 1. there are three separate spans (\startregister...\stopregister pairs) with the same term content (these three separate spans coalesce) which get coalesced into one strange a-b-c-d span, despite having been given different sort keys (I added numbers to the end

Re: [NTG-context] Index

2005-11-10 Thread Vit Zyka
[Name][Names] \setupregister[Name][pagestyle=\it] \setupregister[Name][bf][pagestyle=\bf] \starttext Names: \Name[bf::]{Hans} \Name{Taco} \startregister[Name][bf::]{Patrick} \page[yes] \Name{Hans} \stopregister[Name][bf::]{Patrick} \page[yes] \Name{Patrick} \placeregister[Name

Re: [NTG-context] Index

2005-11-09 Thread Thomas A. Schmitz
:0:0:0:0}{} and have this in the index: see This, :0]– After that, the .tuo file will be messed up, you have to delete it to make the document compile again. For the bug with ranges: \starttext \index{This} This \page \startregister[index]{This} and \page that \page again

Re: [NTG-context] Bug / feature request tracking

2005-11-07 Thread Thomas A. Schmitz
they will really mess up index generation: 1. index ranges inserted via \startregister[index] will gobble all other entries for the term; 2. \seeindex gives an error and will foul up the .tui file when processed with newtexexec; 3. again with newtexexec: capital letters at the beginning

Re: [NTG-context] Bug / feature request tracking

2005-11-07 Thread Vit Zyka
they are fairly critical because they will really mess up index generation: 1. index ranges inserted via \startregister[index] will gobble all other entries for the term; 2. \seeindex gives an error and will foul up the .tui file when processed with newtexexec; 3. again with newtexexec: capital

Re: [NTG-context] Index

2005-10-15 Thread Thomas A. Schmitz
In theory, you can say \startregister[index]{great+topic} and \stopregister[index]{great+topic} and this will do what you want. However, this is one of several bugs in the index module of ConTeXt: this will print just this range and gobble all other entries in the index for great/topic. I

Re: [NTG-context] Index

2005-10-15 Thread Olivier
Quoting Thomas A. Schmitz : -- was [EMAIL PROTECTED] on Oct 16, 2005 at 12:11:31 -- In theory, you can say \startregister[index]{great+topic} and \stopregister[index]{great+topic} Many thanks Thomas, that's what I was looking for :)) and this will do what you want. However, this is one

Re: [NTG-context] Elided page numbers in registers

2005-10-06 Thread Vit Zyka
(generally noncontinuous) range. The same sad result you obtain if you use startregister...stopregister pair. If you know Perl it is not difficult to insert such stuff for one application. It is very difficult to create a general solution. I have no (positive and deep) experience with new ruby

[NTG-context] Register page ranges

2005-08-31 Thread Duncan Hothersall
Bug or feature? In a register (such as the index), a command like \index[key]{entry} creates an index entry sorted as 'key', and there exists also \startregister[key]{entry} ... \stopregister[key] which creates a page range. As far as I can tell, the [key] here plays two roles - the ID

Re: [NTG-context] Elided page numbers in registers

2005-08-31 Thread Vit Zyka
: -- \defineregister[Name][Names] \setupregister[Name][pagestyle=\it] \setupregister[Name][bf][pagestyle=\bf] \starttext Names: \Name[bf::]{Hans} \Name{Taco} \startregister[Name][bf::]{Duncan} \page[yes] \Name{Hans} \stopregister[Name][bf::]{Duncan} \page[yes] \Name{Duncan

[NTG-context] Urgent index problem

2005-03-28 Thread Duncan Hothersall
I am one night from a deadline and I have just noticed that my index is silently ignoring some entries... Help!! The following demonstrates the problem (tested on live.contextgarden.net): -- \starttext \startregister[index]{this term+in+particular} This term is discussed from the start

Re: [NTG-context] Urgent index problem

2005-03-28 Thread Duncan Hothersall
I wrote: -- \starttext \startregister[index]{this term+in+particular} This term is discussed from the start of this page.\page[yes] Some more text about the term, and another page.\page[yes] And the end of the info about that term. \stopregister[index]{this term+in+particular}\page[yes] A page